package com.emall.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author YuanShijia
 * @ClassName ThreadPoolConfigProperties.java
 * @Description
 * @createTime 2020年06月03日 17:08:00
 */
@ConfigurationProperties(prefix = "emall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {
    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
}